<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>资讯详情</title>
</head>
<body>
<div>
    <h1>{$data.a_title}</h1>
    <p>{$data.a_content}</p>
    <span><span>作者:</span><a>{$data.a_auth}</a></span>
    <span>来源:xxx</span>
    <span style="color: red">{$data.create_time}</span>
    <span style="color: red">阅读量:{$a_look}</span>
    <button ><a href="{:url('shou')}?a_id={$data.a_id}">收藏</a></button>
</div>

{if($previous.a_id)==null}

{else/}
<a href="{:url('read')}?a_id={$previous.a_id}">上一页</a>
{/if}

{if($next.a_id)==null}

{else/}
<a href="{:url('read')}?a_id={$next.a_id}">下一页</a>
{/if}

</body>
</html>
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js">
</script>
<script>
    $(function () {
        $('#shou').click('')
    })
</script>